0001 PRINT "TEST"
0002 PRINT "PLEASE INPUT A NUMBER BETWEEN 1 AND 20"
0010 INPUT N
0011 WHILE N < 1 OR N > 20
0012	PRINT "PLEASE INPUT AGAIN"
0013 	INPUT N
0014 WEND
0020 FOR I = 1 TO N
0030 	LET L = "*"
0040 	FOR J = 1 TO N - I
0050 		LET L = " " + L
0060	NEXT
0070 	FOR J = 2 TO 2 * I - 1 STEP = 2
0080 		LET L = L + "**"
0090 	NEXT
0100 	PRINT L
0110 NEXT
0120 LET I = N-1
0130 LET L = ""
0140 FOR J = 1 TO N - I
0150 	LET L = L + " "
0160 NEXT
0170 FOR J = 1 TO ((2 * I) - 1)
0180 	LET L = L + "*"
0190 NEXT
0200 PRINT L
0210 LET I = I -1
0220 IF I > 0 THEN
0230 	GOTO 130
0240 ELSE
0250 PRINT "TSET END"
0260 END IF